﻿using PeiYue.IServices.BASE;
using PeiYue.Model.Dto.Store;
using PeiYue.Model.Models.Store;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace PeiYue.IServices.Store
{

    public interface IDeliveryServices : IBaseServices<DeliveryRecordDao> 
    {
        /// <summary>
        /// 获取仓库拣选日志
        /// </summary>
        /// <param name="barCode"></param>
        /// <param name="deliveryDate"></param>
        /// <returns></returns>
        Task<SortingLogDto> GetSortingLogDto(string barCode, DateTime deliveryDate);
        /// <summary>
        /// 获取已投递记录
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        Task<List<DeliveryRecordDto>> GetDeliveryRecordList(long userId);
    }
}
